package com.py.credit.service;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import com.py.credit.common.rest.RestServiceResult;
import com.py.credit.entity.Column;
import com.py.credit.entity.DeclarationManagementForm;
import com.py.credit.entity.Table;
import com.py.framework.core.common.Page;

public interface DeclarationManagementFormService {

	List<DeclarationManagementForm> selectListForPage(Page page, String root_id, String collection_type);

	List<DeclarationManagementForm> selectTable(List<String> list, String tableString);

	List<DeclarationManagementForm> selectAllList(String root_id, String collection_type);

	RestServiceResult<List<Object>> getcube_id_list(String type, String root_id);

	String getcontentId();

	Map<String, Object> dataFormatCheck(Object object, List<Map<String, Object>>  listDataMap, Table table, List<Column> columns);

	void addApplication(String datatype, String dept, String cube_id, String datapath,String yjpath,String mainType);

	List<LinkedHashMap<String, Object>> selectByConditionForPage(Integer shzt,String mainType, String tablename, String mainName,
			 List<String> showColumns, String[] additionalColumns, String condition, Page page);

	void updateApplication(String id, String shjg, String shyj, String shdept, String realName);

	List<Map<String, Object>> webSelectHistoryForPage(Page page);

	
	
	List<LinkedHashMap<String, Object>> selectZzsbTableListForPage(String sblb, String ztlx, Page page);

}
